<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>{{collection.title}}</title>
    <link rel="stylesheet" type="text/css" href="{{static_files}}/style.css">
</head>
<body>
<div id="bodyContent">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr>
            <td class="s0" colspan="19">{{collection.title}}</td>
            <td class="s1" colspan="21">{{date}}</td>
        </tr>
    </table>
    {% for record in records %}
    <div class="row">
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr style="height: 1px">
              <td width="77"/>
              <td width="77"/>
              <td width="4"/>
              <td width="1.7%"/>
              <td width="2.3%"/>
              <td width="1.2%"/>
              <td width="2.3%"/>
              <td width="4%"/>
              <td width="3.5%"/>
              <td width="1.2%"/>
              <td width="1.7%"/>
              <td width="6.4%"/>
              <td width="2.9%"/>
              <td width="9.8%"/>
              <td width="2.9%"/>
              <td width="5.8%"/>
              <td width="0.6%"/>
              <td width="3.5%"/>
              <td width="2.3%"/>
              <td width="1.2%"/>
              <td width="9.2%"/>
              <td width="1.2%"/>
              <td width="2.9%"/>
              <td width="1.2%"/>
              <td width="2.9%"/>
              <td width="4.6%"/>
            </tr>
            <tr style="height:4px"><td colspan="26" class="s2" style="font-size:1px">&nbsp;</td></tr>
            <tr style="height:4px">
                <td/>
                <td/>
                <td/>
                <td colspan="8" rowspan="2" class="s3">{{record.denomination}}</td>
                <td colspan="11" rowspan="2" class="s15">{% if record.theme %}{{record.theme}}{% else %}{{record.title}}{% endif %}</td>
                <td colspan="4" rowspan="2" class="s15">{{record.catalognum1}}</td>
            </tr>
            <tr style="height:11px">
                <td rowspan="7" class="s6" style="font-size:1px"><img src="{{static_files}}/{{record.stamp_image}}" width="80" alt=""></td>
                <td rowspan="7" class="s7" style="font-size:1px"><img src="{{static_files}}/{{record.reverse_image}}" width="80" alt=""></td><td/>
            </tr>
            <tr style="height:11px">
                <td/>
                <td colspan="2" class="s16">{{titles.year}}:</td><td colspan="3" class="s17">{{record.year}}</td>
                <td colspan="3" class="s18">{{titles.country}}:</td><td colspan="15" class="s17">{{record.country}}</td>
            </tr>
            <tr style="height:11px">
                <td/>
                <td colspan="2" class="s16">{{titles.emission_period}}:</td><td colspan="12" class="s17">{{record.emission_period}}</td>
                <td colspan="2" class="s18">{{titles.material}}:</td><td colspan="7" class="s17">{{record.material}} {{record.material_type}}</td>
            </tr>
            <tr style="height:11px">
                <td/>
                <td colspan="2" class="s16">{{titles.variete}}:</td>
                <td colspan="7" class="s19">{{record.variete}}</td>
                <td colspan="9" class="s17">{{record.variety_desc}}</td>
                <td colspan="3" class="s18">{{titles.fineness}}:</td><td colspan="2" class="s17">{{record.fineness}}</td>
            </tr>
            <tr style="height:11px">
                <td/>
                <td colspan="3" class="s16">{{titles.printing}}:</td><td colspan="2" class="s17">{{record.printing}}</td>
                <td colspan="2" class="s18">{{titles.perforation}}:</td><td colspan="4" class="s19">{{record.perforation}} {{record.perforation_size}}</td>
                <td colspan="2" class="s16">{% if record.issue_date %}{{titles.issue_date}}{% else %}{{titles.emission_period}}{% endif %}:</td>
                <td colspan="10" class="s17">{% if record.issue_date %}{{record.issue_date}}{% else %}{{record.emission_period}}{% endif %}</td>
            </tr>
            <tr style="height:11px"><td/><td colspan="4" class="s16">{{titles.features}}:</td><td colspan="19" class="s20">{{record.features}}</td></tr>
            <tr style="height:7px">
                <td/>
                <td class="s21">{{titles.price1}}:</td><td colspan="4" class="s22">{{record.price1}}</td>
                <td class="s21">{{titles.price2}}:</td><td colspan="3" class="s22">{{record.price2}}</td>
                <td class="s21">{{titles.price3}}:</td><td class="s22">{{record.price3}}</td>
                <td class="s21">{{titles.price4}}:</td><td class="s22">{{record.price4}}</td>
                <td class="s21">{{titles.price5}}:</td><td class="s22">{{record.price5}}</td>
                <td class="s21">{{titles.price6}}:</td><td class="s22">{{record.price6}}</td>
                <td colspan="3" class="s22"></td>
            </tr>
            {% if loop.last %}
            <tr style="height:4px"><td colspan="26" class="s2" style="font-size:1px">&nbsp;</td></tr>
            {% endif %}
        </table>
    </div>
    {% endfor %}
</div>
</body>
</html>
